const user=[
    {Uid:10001, Uname:'狗蛋他爹', Usex:0, Uday:'2002-12-02', Uimage:'/images/meliking.jpg', Uphone:'18403247596', Uemail:'1158633517@qq.com', Pid:10001, Uarea:'北京市朝阳区', Uleval: 2},
    {Uid:10002, Uname:'在铲屎路上', Usex:1, Uday:'1992-11-12', Uimage:'/images/meliking.jpg', Uphone:'18731148449', Uemail:'1755933013@qq.com', Pid:10002, Uarea:'天津市朝阳河西区', Uleval: 0},
    {Uid:10003, Uname:'旺仔', Usex:0, Uday:'1996-09-22', Uimage:'/images/meliking.jpg', Uphone:'17633428662', Uemail:'2812089281@qq.com', Pid:10003, Uarea:'北河北省石家庄市', Uleval: 2},
    {Uid:10004, Uname:'花开富贵', Usex:1, Uday:'1980-10-26', Uimage:'/images/meliking.jpg', Uphone:'13091013566', Uemail:'3202458564@qq.com', Pid:10004, Uarea:'四川省泸州市', Uleval: 3},
    {Uid:10005, Uname:'钢镚儿是我滴宝', Usex:1, Uday:'1979-1-19', Uimage:'/images/meliking.jpg', Uphone:'18032151365', Uemail:'7634993049@qq.com', Pid:10005, Uarea:'陕西省西安市', Uleval: 1},
    {Uid:10006, Uname:'水滴石穿', Usex:1, Uday:'1997-1-19', Uimage:'/images/meliking.jpg', Uphone:'18032151365', Uemail:'7634993049@qq.com', Pid:10006, Uarea:'河北省衡水市', Uleval: 1},
    {Uid:10007, Uname:'匀匀将升', Usex:0, Uday:'2001-3-17', Uimage:'/images/meliking.jpg', Uphone:'18032151365', Uemail:'7634993049@qq.com', Pid:10007, Uarea:'河北省石家庄市', Uleval: 1},
    {Uid:10008, Uname:'，', Usex:1, Uday:'1996-2-2', Uimage:'/images/meliking.jpg', Uphone:'18032151365', Uemail:'7634993049@qq.com', Pid:10008, Uarea:'河北省沧州市', Uleval: 2},
    {Uid:10009, Uname:'十二。', Usex:1, Uday:'1999-11-30', Uimage:'/images/meliking.jpg', Uphone:'18032151365', Uemail:'7634993049@qq.com', Pid:10009, Uarea:'河北省廊坊市', Uleval: 0},
    {Uid:10010, Uname:'冷静和热情', Usex:0, Uday:'2001-11-19', Uimage:'/images/meliking.jpg', Uphone:'18032151365', Uemail:'7634993049@qq.com', Pid:10010, Uarea:'四川省泸州市', Uleval: 3},
    {Uid:10011, Uname:'热情之间', Usex:0, Uday:'2001-11-19', Uimage:'/images/meliking.jpg', Uphone:'18032151365', Uemail:'7634993049@qq.com', Pid:10010, Uarea:'四川省泸州市', Uleval: 3},
    {Uid:10012, Uname:'冷静之间', Usex:0, Uday:'2001-11-19', Uimage:'/images/meliking.jpg', Uphone:'18032151365', Uemail:'7634993049@qq.com', Pid:10010, Uarea:'四川省泸州市', Uleval: 3},
    {Uid:10013, Uname:'冷静间', Usex:0, Uday:'2001-11-19', Uimage:'/images/meliking.jpg', Uphone:'18032151365', Uemail:'7634993049@qq.com', Pid:10010, Uarea:'四川省泸州市', Uleval: 3},
    {Uid:10014, Uname:'热情间', Usex:0, Uday:'2001-11-19', Uimage:'/images/meliking.jpg', Uphone:'18032151365', Uemail:'7634993049@qq.com', Pid:10010, Uarea:'四川省泸州市', Uleval: 3},
    {Uid:10015, Uname:'冷', Usex:0, Uday:'2001-11-19', Uimage:'/images/meliking.jpg', Uphone:'18032151365', Uemail:'7634993049@qq.com', Pid:10010, Uarea:'四川省泸州市', Uleval: 3},
    {Uid:10016, Uname:'冷静', Usex:0, Uday:'2001-11-19', Uimage:'/images/meliking.jpg', Uphone:'18032151365', Uemail:'7634993049@qq.com', Pid:10010, Uarea:'四川省泸州市', Uleval: 3},
    {Uid:10017, Uname:'热情', Usex:0, Uday:'2001-11-19', Uimage:'/images/meliking.jpg', Uphone:'18032151365', Uemail:'7634993049@qq.com', Pid:10010, Uarea:'四川省泸州市', Uleval: 3},
    {Uid:10018, Uname:'之间', Usex:0, Uday:'2001-11-19', Uimage:'/images/meliking.jpg', Uphone:'18032151365', Uemail:'7634993049@qq.com', Pid:10010, Uarea:'四川省泸州市', Uleval: 3},
    {Uid:10019, Uname:'冷静和', Usex:0, Uday:'2001-11-19', Uimage:'/images/meliking.jpg', Uphone:'18032151365', Uemail:'7634993049@qq.com', Pid:10010, Uarea:'四川省泸州市', Uleval: 3},
    {Uid:10020, Uname:'冷静间', Usex:0, Uday:'2001-11-19', Uimage:'/images/meliking.jpg', Uphone:'18032151365', Uemail:'7634993049@qq.com', Pid:10010, Uarea:'四川省泸州市', Uleval: 3},
    {Uid:10021, Uname:'冷静热情之间', Usex:0, Uday:'2001-11-19', Uimage:'/images/meliking.jpg', Uphone:'18032151365', Uemail:'7634993049@qq.com', Pid:10010, Uarea:'四川省泸州市', Uleval: 3},
    {Uid:10022, Uname:'冷静和情之间', Usex:0, Uday:'2001-11-19', Uimage:'/images/meliking.jpg', Uphone:'18032151365', Uemail:'7634993049@qq.com', Pid:10010, Uarea:'四川省泸州市', Uleval: 3},
    {Uid:10023, Uname:'冷静和情之间', Usex:0, Uday:'2001-11-19', Uimage:'/images/meliking.jpg', Uphone:'18032151365', Uemail:'7634993049@qq.com', Pid:10010, Uarea:'四川省泸州市', Uleval: 3},
    {Uid:10024, Uname:'冷静热情之间', Usex:0, Uday:'2001-11-19', Uimage:'/images/meliking.jpg', Uphone:'18032151365', Uemail:'7634993049@qq.com', Pid:10010, Uarea:'四川省泸州市', Uleval: 3},
    {Uid:10025, Uname:'冷静和热情之间', Usex:0, Uday:'2001-11-19', Uimage:'/images/meliking.jpg', Uphone:'18032151365', Uemail:'7634993049@qq.com', Pid:10010, Uarea:'四川省泸州市', Uleval: 3},
    {Uid:10026, Uname:'冷热情之间', Usex:0, Uday:'2001-11-19', Uimage:'/images/meliking.jpg', Uphone:'18032151365', Uemail:'7634993049@qq.com', Pid:10010, Uarea:'四川省泸州市', Uleval: 3},
    {Uid:10027, Uname:'冷静情之间', Usex:0, Uday:'2001-11-19', Uimage:'/images/meliking.jpg', Uphone:'18032151365', Uemail:'7634993049@qq.com', Pid:10010, Uarea:'四川省泸州市', Uleval: 3},
    {Uid:10028, Uname:'冷静情之间', Usex:0, Uday:'2001-11-19', Uimage:'/images/meliking.jpg', Uphone:'18032151365', Uemail:'7634993049@qq.com', Pid:10010, Uarea:'四川省泸州市', Uleval: 3},
    {Uid:10029, Uname:'冷热情之间', Usex:0, Uday:'2001-11-19', Uimage:'/images/meliking.jpg', Uphone:'18032151365', Uemail:'7634993049@qq.com', Pid:10010, Uarea:'四川省泸州市', Uleval: 3},
    {Uid:10030, Uname:'冷静情之间', Usex:0, Uday:'2001-11-19', Uimage:'/images/meliking.jpg', Uphone:'18032151365', Uemail:'7634993049@qq.com', Pid:10010, Uarea:'四川省泸州市', Uleval: 3},
    {Uid:10031, Uname:'冷静和之间', Usex:0, Uday:'2001-11-19', Uimage:'/images/meliking.jpg', Uphone:'18032151365', Uemail:'7634993049@qq.com', Pid:10010, Uarea:'四川省泸州市', Uleval: 3},
    {Uid:10032, Uname:'冷静和热情之间', Usex:0, Uday:'2001-11-19', Uimage:'/images/meliking.jpg', Uphone:'18032151365', Uemail:'7634993049@qq.com', Pid:10010, Uarea:'四川省泸州市', Uleval: 3},
    {Uid:10033, Uname:'冷静和情之间', Usex:0, Uday:'2001-11-19', Uimage:'/images/meliking.jpg', Uphone:'18032151365', Uemail:'7634993049@qq.com', Pid:10010, Uarea:'四川省泸州市', Uleval: 3},
    {Uid:10034, Uname:'冷静热情之间', Usex:0, Uday:'2001-11-19', Uimage:'/images/meliking.jpg', Uphone:'18032151365', Uemail:'7634993049@qq.com', Pid:10010, Uarea:'四川省泸州市', Uleval: 3},
    {Uid:10035, Uname:'冷和热情之间', Usex:0, Uday:'2001-11-19', Uimage:'/images/meliking.jpg', Uphone:'18032151365', Uemail:'7634993049@qq.com', Pid:10010, Uarea:'四川省泸州市', Uleval: 3},
    {Uid:10036, Uname:'冷静和情之间', Usex:0, Uday:'2001-11-19', Uimage:'/images/meliking.jpg', Uphone:'18032151365', Uemail:'7634993049@qq.com', Pid:10010, Uarea:'四川省泸州市', Uleval: 3},
    {Uid:10037, Uname:'冷静和情之间', Usex:0, Uday:'2001-11-19', Uimage:'/images/meliking.jpg', Uphone:'18032151365', Uemail:'7634993049@qq.com', Pid:10010, Uarea:'四川省泸州市', Uleval: 3},
    {Uid:10038, Uname:'冷静和情之间', Usex:0, Uday:'2001-11-19', Uimage:'/images/meliking.jpg', Uphone:'18032151365', Uemail:'7634993049@qq.com', Pid:10010, Uarea:'四川省泸州市', Uleval: 3},
    {Uid:10039, Uname:'冷静和热情之间', Usex:0, Uday:'2001-11-19', Uimage:'/images/meliking.jpg', Uphone:'18032151365', Uemail:'7634993049@qq.com', Pid:10010, Uarea:'四川省泸州市', Uleval: 3},
    {Uid:10040, Uname:'冷热情之间', Usex:0, Uday:'2001-11-19', Uimage:'/images/meliking.jpg', Uphone:'18032151365', Uemail:'7634993049@qq.com', Pid:10010, Uarea:'四川省泸州市', Uleval: 3},
    {Uid:10041, Uname:'冷静热情之间', Usex:0, Uday:'2001-11-19', Uimage:'/images/meliking.jpg', Uphone:'18032151365', Uemail:'7634993049@qq.com', Pid:10010, Uarea:'四川省泸州市', Uleval: 3},
    {Uid:10042, Uname:'冷静热情之间', Usex:0, Uday:'2001-11-19', Uimage:'/images/meliking.jpg', Uphone:'18032151365', Uemail:'7634993049@qq.com', Pid:10010, Uarea:'四川省泸州市', Uleval: 3},
    {Uid:10043, Uname:'冷静和情之间', Usex:0, Uday:'2001-11-19', Uimage:'/images/meliking.jpg', Uphone:'18032151365', Uemail:'7634993049@qq.com', Pid:10010, Uarea:'四川省泸州市', Uleval: 3},
    {Uid:10044, Uname:'冷静热情之间', Usex:0, Uday:'2001-11-19', Uimage:'/images/meliking.jpg', Uphone:'18032151365', Uemail:'7634993049@qq.com', Pid:10010, Uarea:'四川省泸州市', Uleval: 3},
    {Uid:10045, Uname:'冷静和热情之间', Usex:0, Uday:'2001-11-19', Uimage:'/images/meliking.jpg', Uphone:'18032151365', Uemail:'7634993049@qq.com', Pid:10010, Uarea:'四川省泸州市', Uleval: 3},
]
const pet=[
    {Pid:20001, Pname:'狗蛋', Psex:0, Page:'3个月',Pweight:'2',Pvarie:'金毛',Photo:'/images/meliking.jpg',Pinject:1,Pintroduction:'爱吃爱喝' },
    {Pid:20002, Pname:'苗苗', Psex:1, Page:'1年9个月' ,Pweight:'2',Pvarie:'牛头梗',Photo:'/images/meliking.jpg',Pinject:0,Pintroduction:'爱睡大觉'},
    {Pid:20003, Pname:'伟伟', Psex:0, Page:'11个月',Pweight:'2',Pvarie:'柯基',Photo:'/images/meliking.jpg',Pinject:1,Pintroduction:'喜欢早上吃饭' },
    {Pid:20004, Pname:'瑶瑶', Psex:0, Page:'5年',Pweight:'2',Pvarie:'田园犬',Photo:'/images/meliking.jpg',Pinject:1,Pintroduction:'喜欢叫' },
    {Pid:20005, Pname:'宁宁', Psex:0, Page:'8年',Pweight:'2',Pvarie:'狸花猫',Photo:'/images/meliking.jpg',Pinject:0,Pintroduction:'喜欢咬鞋'},
    {Pid:20006, Pname:'旺财', Psex:0, Page:'7年',Pweight:'2',Pvarie:'哈士奇',Photo:'/images/meliking.jpg',Pinject:1,Pintroduction:'喜欢拆家'},
    {Pid:20007, Pname:'贝贝', Psex:0, Page:'8年',Pweight:'2',Pvarie:'波斯猫',Photo:'/images/meliking.jpg',Pinject:0,Pintroduction:'喜欢微笑'},
    {Pid:20008, Pname:'媚媚', Psex:1, Page:'2年',Pweight:'2',Pvarie:'边牧',Photo:'/images/meliking.jpg',Pinject:1,Pintroduction:'喜欢玩飞盘'},
    {Pid:20009, Pname:'刀刀', Psex:0, Page:'1年',Pweight:'2',Pvarie:'田园犬',Photo:'/images/meliking.jpg',Pinject:0,Pintroduction:'喜欢遛弯'},
    {Pid:20010, Pname:'露露', Psex:1, Page:'3年',Pweight:'2',Pvarie:'仙女猫',Photo:'/images/meliking.jpg',Pinject:1,Pintroduction:'喜欢舔毛'}
]

const works=[
    {Wid:30001,Uid:10001,Wtitle:'今天是勇敢基！！',Wintro:'天气冷得太快，记得穿好鞋子！',Wtag:'#汪汪星球',Wzan:10000,Cid:40001,Wimage:'/images/meliking.jpg'},
    {Wid:30002,Uid:10002,Wtitle:'今天是勇敢基！！',Wintro:'天气冷得太快，记得穿好鞋子！',Wtag:'#喵喵星球',Wzan:10000,Cid:40001,Wimage:'/images/meliking.jpg'},
    {Wid:30003,Uid:10003,Wtitle:'今天是勇敢基！！',Wintro:'天气冷得太快，记得穿好鞋子！',Wtag:'#其他星球',Wzan:10000,Cid:40001,Wimage:'/images/meliking.jpg'},
    {Wid:30004,Uid:10004,Wtitle:'今天是不勇敢基！！',Wintro:'今天不勇敢，明天就会勇敢！',Wtag:'#喵喵星球',Wzan:88,Cid:40002,Wimage:'/images/meliking.jpg'},
    {Wid:30005,Uid:10005,Wtitle:'今天是不勇敢基！！',Wintro:'今天不勇敢，明天就会勇敢！',Wtag:'#汪汪星球',Wzan:88,Cid:40002,Wimage:'/images/meliking.jpg'},
    {Wid:30006,Uid:10006,Wtitle:'今天是不勇敢基！！',Wintro:'今天不勇敢，明天就会勇敢！',Wtag:'#其他星球',Wzan:88,Cid:40002,Wimage:'/images/meliking.jpg'},
    {Wid:30007,Uid:10007,Wtitle:'一只狗三年的变化',Wintro:'我变丑了有没有~',Wtag:'#汪汪星球',Wzan:0,Cid:40003,Wimage:'/images/meliking.jpg'},
    {Wid:30008,Uid:10008,Wtitle:'一只猫三年的变化',Wintro:'我变丑了有没有~',Wtag:'#喵喵星球',Wzan:0,Cid:40003,Wimage:'/images/meliking.jpg'},
    {Wid:30009,Uid:10009,Wtitle:'一只猪三年的变化',Wintro:'我变丑了有没有~',Wtag:'#其他星球',Wzan:0,Cid:40003,Wimage:'/images/meliking.jpg'},
    {Wid:30010,Uid:10010,Wtitle:'看我小帽子歪了没~',Wintro:'给狗狗新买的衣服，他很喜欢',Wtag:'#其他星球',Wzan:4,Cid:40004,Wimage:'/images/meliking.jpg'},
    {Wid:30011,Uid:10011,Wtitle:'看我小帽子歪了没~',Wintro:'给狗狗新买的衣服，他很喜欢',Wtag:'#汪汪星球',Wzan:4,Cid:40004,Wimage:'/images/meliking.jpg'},
    {Wid:30012,Uid:10012,Wtitle:'看我小帽子歪了没~',Wintro:'给狗狗新买的衣服，他很喜欢',Wtag:'#喵喵星球',Wzan:4,Cid:40004,Wimage:'/images/meliking.jpg'},
    {Wid:30013,Uid:10013,Wtitle:'救命！他为什么那么可爱！',Wintro:'千万别被人拐跑了！',Wtag:'#其他星球',Wzan:6,Cid:40005,Wimage:'/images/meliking.jpg'},
    {Wid:30014,Uid:10014,Wtitle:'救命！他为什么那么可爱！',Wintro:'千万别被人拐跑了！',Wtag:'#喵喵星球',Wzan:6,Cid:40005,Wimage:'/images/meliking.jpg'},
    {Wid:30015,Uid:10015,Wtitle:'救命！他为什么那么可爱！',Wintro:'千万别被人拐跑了！',Wtag:'#汪汪星球',Wzan:6,Cid:40005,Wimage:'/images/meliking.jpg'},
    {Wid:30016,Uid:10016,Wtitle:'救命！！',Wintro:'要去打狂犬疫苗了',Wtag:'#汪汪星球',Wzan:7,Cid:40006,Wimage:'/images/meliking.jpg'},
    {Wid:30017,Uid:10017,Wtitle:'救命！！',Wintro:'要去打狂犬疫苗了',Wtag:'#喵喵星球',Wzan:7,Cid:40006,Wimage:'/images/meliking.jpg'},
    {Wid:30018,Uid:10018,Wtitle:'救命！！',Wintro:'要去打狂犬疫苗了',Wtag:'#其他星球',Wzan:7,Cid:40006,Wimage:'/images/meliking.jpg'},
    {Wid:30019,Uid:10019,Wtitle:'救命！！',Wintro:'萌化老夫的心了！',Wtag:'#喵喵星球',Wzan:8,Cid:40007,Wimage:'/images/meliking.jpg'},
    {Wid:30020,Uid:10020,Wtitle:'救命！！',Wintro:'萌化老夫的心了！',Wtag:'#汪汪星球',Wzan:8,Cid:40007,Wimage:'/images/meliking.jpg'},
    {Wid:30021,Uid:10021,Wtitle:'救命！！',Wintro:'萌化老夫的心了！',Wtag:'#其他星球',Wzan:8,Cid:40007,Wimage:'/images/meliking.jpg'},
    {Wid:30022,Uid:10022,Wtitle:'救命！！',Wintro:'命没了！',Wtag:'#其他星球',Wzan:9,Cid:40008,Wimage:'/images/meliking.jpg'},
    {Wid:30023,Uid:10023,Wtitle:'救命！！',Wintro:'命没了！',Wtag:'#汪汪星球',Wzan:9,Cid:40008,Wimage:'/images/meliking.jpg'},
    {Wid:30024,Uid:10024,Wtitle:'救命！！',Wintro:'命没了！',Wtag:'#喵喵星球',Wzan:9,Cid:40008,Wimage:'/images/meliking.jpg'},
    {Wid:30025,Uid:10025,Wtitle:'标题党来了',Wintro:'点进来看看！',Wtag:'#喵喵星球',Wzan:10,Cid:40009,Wimage:'/images/meliking.jpg'},
    {Wid:30026,Uid:10026,Wtitle:'标题党来了',Wintro:'点进来看看！',Wtag:'#汪汪星球',Wzan:10,Cid:40009,Wimage:'/images/meliking.jpg'},
    {Wid:30027,Uid:10027,Wtitle:'标题党来了',Wintro:'点进来看看！',Wtag:'#其他星球',Wzan:10,Cid:40009,Wimage:'/images/meliking.jpg'},
    {Wid:30028,Uid:10028,Wtitle:'早上好呀',Wintro:'如果有一天。我悄然离去~！',Wtag:'#汪汪星球',Wzan:99,Cid:40010,Wimage:'/images/meliking.jpg'},
    {Wid:30029,Uid:10029,Wtitle:'早上好呀',Wintro:'如果有一天。我悄然离去~！',Wtag:'#喵喵星球',Wzan:99,Cid:40010,Wimage:'/images/meliking.jpg'},
    {Wid:30030,Uid:10030,Wtitle:'早上好呀',Wintro:'如果有一天。我悄然离去~！',Wtag:'#其他星球',Wzan:99,Cid:40010,Wimage:'/images/meliking.jpg'},
    {Wid:30031,Uid:10031,Wtitle:'又是新的一天',Wintro:'未来可期！',Wtag:'#汪汪星球',Wzan:99,Cid:40010,Wimage:'/images/meliking.jpg'},
    {Wid:30032,Uid:10032,Wtitle:'又是新的一天',Wintro:'未来可期！',Wtag:'#喵喵星球',Wzan:99,Cid:40010,Wimage:'/images/meliking.jpg'},
    {Wid:30033,Uid:10033,Wtitle:'又是新的一天',Wintro:'未来可期！',Wtag:'#其他星球',Wzan:99,Cid:40010,Wimage:'/images/meliking.jpg'},
    {Wid:30034,Uid:10034,Wtitle:'它抓我！！',Wintro:'哭唧唧！',Wtag:'#汪汪星球',Wzan:99,Cid:40010,Wimage:'/images/meliking.jpg'},
    {Wid:30035,Uid:10035,Wtitle:'它抓我！！',Wintro:'哭唧唧！',Wtag:'#喵喵星球',Wzan:99,Cid:40010,Wimage:'/images/meliking.jpg'},
    {Wid:30036,Uid:10036,Wtitle:'它抓我！！',Wintro:'哭唧唧！',Wtag:'#其他星球',Wzan:99,Cid:40010,Wimage:'/images/meliking.jpg'},
    {Wid:30037,Uid:10037,Wtitle:'它们都无忧无虑，不用工作',Wintro:'真羡慕！',Wtag:'#其他星球',Wzan:99,Cid:40010,Wimage:'/images/meliking.jpg'},
    {Wid:30038,Uid:10038,Wtitle:'它们都无忧无虑，不用工作',Wintro:'真羡慕！',Wtag:'#汪汪星球',Wzan:42,Cid:40010,Wimage:'/images/meliking.jpg'},
    {Wid:30039,Uid:10039,Wtitle:'它们都无忧无虑，不用工作',Wintro:'真羡慕！',Wtag:'#喵喵星球',Wzan:56,Cid:40010,Wimage:'/images/meliking.jpg'},
    {Wid:30040,Uid:10040,Wtitle:'说点什么好呢',Wintro:'有它在很安心',Wtag:'#喵喵星球',Wzan:56,Cid:40010,Wimage:'/images/meliking.jpg'},
    {Wid:30041,Uid:10041,Wtitle:'说点什么好呢',Wintro:'有它在很安心',Wtag:'#汪汪星球',Wzan:56,Cid:40010,Wimage:'/images/meliking.jpg'},
    {Wid:30042,Uid:10042,Wtitle:'说点什么好呢',Wintro:'有它在很安心',Wtag:'#其他星球',Wzan:56,Cid:40010,Wimage:'/images/meliking.jpg'},
    {Wid:30043,Uid:10043,Wtitle:'双十一给我们家主子囤货！',Wintro:'疯狂剁手',Wtag:'#其他星球',Wzan:56,Cid:40010,Wimage:'/images/meliking.jpg'},
    {Wid:30044,Uid:10044,Wtitle:'双十一给我们家主子囤货！',Wintro:'疯狂剁手',Wtag:'#汪汪星球',Wzan:56,Cid:40010,Wimage:'/images/meliking.jpg'},
    {Wid:30045,Uid:10045,Wtitle:'双十一给我们家主子囤货！',Wintro:'疯狂剁手',Wtag:'#其他星球',Wzan:56,Cid:40010,Wimage:'/images/meliking.jpg'},
]
const comment=[
    {Cid:40001,Wid:30001,Uid:10002,Ctime:'2021-10-16 15:23:11',Czan:1,Ctext:'太可爱了！'},
    {Cid:40002,Wid:30002,Uid:10003,Ctime:'2021-11-30 15:23:11',Czan:77,Ctext:'天冷记得穿衣'},
    {Cid:40003,Wid:30003,Uid:10004,Ctime:'2021-8-9 15:23:11',Czan:5,Ctext:'一个赞写一小时作业'},
    {Cid:40004,Wid:30004,Uid:10005,Ctime:'2021-11-10 15:23:11',Czan:5000,Ctext:'爱了爱了！'},
    {Cid:40005,Wid:30005,Uid:10006,Ctime:'2021-11-1 15:23:11',Czan:86,Ctext:'和我家毛孩子好像！'},
    {Cid:40006,Wid:30006,Uid:10007,Ctime:'2021-11-1 15:23:11',Czan:50,Ctext:'想抱走！'},
    {Cid:40007,Wid:30007,Uid:10008,Ctime:'2021-11-1 15:23:11',Czan:80,Ctext:'是我的菜！'},
    {Cid:40008,Wid:30008,Uid:10009,Ctime:'2021-11-1 15:23:11',Czan:63,Ctext:'好想养一只'},
    {Cid:40009,Wid:30009,Uid:10010,Ctime:'2021-11-1 15:23:11',Czan:41,Ctext:'我家主子太淘气！'},
    {Cid:40010,Wid:30010,Uid:10001,Ctime:'2021-11-1 15:23:11',Czan:9,Ctext:'真好呀！'},
    {Cid:40011,Wid:30001,Uid:10005,Ctime:'2021-11-1 15:23:11',Czan:9,Ctext:'哈哈哈！'},
    {Cid:40012,Wid:30001,Uid:10006,Ctime:'2021-11-1 15:23:11',Czan:9,Ctext:'太好了！'},
]

const attented=[
    {Uid:10001,Bid:10002,Time:'2021-5-9 15:23:11',Astate:'+关注'},
    {Uid:10002,Bid:10003,Time:'2021-11-30 15:23:1',Astate:'已关注'},
    {Uid:10003,Bid:10004,Time:'2021-8-9 15:23:11',Astate:'已关注'},
    {Uid:10004,Bid:10005,Time:'2021-11-10 15:23:1',Astate:'+关注'},
    {Uid:10005,Bid:10001,Time:'2021-11-1 15:23:11',Astate:'已关注'},
    {Uid:10006,Bid:10007,Time:'2021-6-6 15:23:11',Astate:'已关注'},
    {Uid:10007,Bid:10008,Time:'2021-11-10 15:23:11',Astate:'+关注'},
    {Uid:10008,Bid:10001,Time:'2021-1-1 15:23:11',Astate:'已关注'},
    {Uid:10009,Bid:10010,Time:'2021-7-1 15:23:11',Astate:'已关注'},
    {Uid:10010,Bid:10001,Time:'2021-10-1 15:23:11',Astate:'+关注'},
]

const attention=[
    {Uid:10002,Bid:10001,Astate:'已关注'},
    {Uid:10003,Bid:10002,Astate:'已关注'},
    {Uid:10004,Bid:10003,Astate:'已关注'},
    {Uid:10005,Bid:10004,Astate:'已关注'},
    {Uid:10001,Bid:10005,Astate:'已关注'},
    {Uid:10007,Bid:10006,Astate:'已关注'},
    {Uid:10008,Bid:10007,Astate:'已关注'},
    {Uid:10010,Bid:10008,Astate:'已关注'},
    {Uid:10011,Bid:10009,Astate:'已关注'},
    {Uid:10023,Bid:10010,Astate:'已关注'},
]

const foster=[
    {Fid:50001,Pid:20001, Uid:10001, Pname:'狗蛋', Page:'3个月', Pvarie:'金毛',Pinject:1,Ftime:'2021-2-1 20:00——2021-5-1 15:00',Uphone:'18403247596',Uarea:'北京市朝阳区',Pintroduction:'爱吃爱喝' , Uimage:'/images/meliking.jpg'},
    {Fid:50002,Pid:20002, Uid:10002, Pname:'苗苗', Page:'1年9个月' , Pvarie:'牛头梗',Pinject:0,Ftime:'2021-2-2 20:10——2021-5-1 15:00',Uphone:'18731148449',Uarea:'天津市朝阳河西区',Pintroduction:'爱睡大觉', Uimage:'/images/meliking.jpg'},
    {Fid:50003,Pid:20003, Uid:10003, Pname:'伟伟', Page:'11个月', Pvarie:'柯基',Pinject:1,Ftime:'2021-2-11 20:00——2021-7-1 15:00',Uphone:'17633428662',Uarea:'北河北省石家庄市',Pintroduction:'喜欢早上吃饭' , Uimage:'/images/meliking.jpg'},
    {Fid:50004,Pid:20004, Uid:10004, Pname:'瑶瑶', Page:'5年', Pvarie:'田园犬',Pinject:1,Ftime:'2021-12-1 20:30——2021-12-30 15:00',Uphone:'13091013566',Uarea:'四川省泸州市',Pintroduction:'喜欢叫', Uimage:'/images/meliking.jpg'},
    {Fid:50005,Pid:20005, Uid:10005, Pname:'宁宁', Page:'8年', Pvarie:'狸花猫',Pinject:0,Ftime:'2021-12-10 20:00——2021-12-1 15:00',Uphone:'18032151365',Uarea:'陕西省西安市',Pintroduction:'喜欢咬鞋', Uimage:'/images/meliking.jpg'},
]

const adopt=[
    {Aid:60001,Pid:20006, Uid:10006, Pname:'旺财', Page:'3个月', Pvarie:'金毛',Pinject:1,Ftime:'2021-2-1 20:00',Uphone:'18403247596',Uarea:'北京市朝阳区',Pintroduction:'爱吃爱喝' , Uimage:'/images/meliking.jpg'},
    {Aid:60002,Pid:20007, Uid:10007, Pname:'贝贝', Page:'1年9个月' , Pvarie:'牛头梗',Pinject:0,Ftime:'2021-2-2 20:10',Uphone:'18731148449',Uarea:'天津市朝阳河西区',Pintroduction:'爱睡大觉', Uimage:'/images/meliking.jpg'},
    {Aid:60003,Pid:20008, Uid:10008, Pname:'媚媚', Page:'11个月', Pvarie:'柯基',Pinject:1,Ftime:'2021-2-11 20:01',Uphone:'17633428662',Uarea:'北河北省石家庄市',Pintroduction:'喜欢早上吃饭' , Uimage:'/images/meliking.jpg'},
    {Aid:60004,Pid:20009, Uid:10009, Pname:'刀刀', Page:'5年', Pvarie:'田园犬',Pinject:1,Ftime:'2021-12-1 20:30',Uphone:'13091013566',Uarea:'四川省泸州市',Pintroduction:'喜欢叫', Uimage:'/images/meliking.jpg'},
    {Aid:60005,Pid:20010, Uid:10010, Pname:'露露', Page:'8年', Pvarie:'狸花猫',Pinject:0,Ftime:'2021-12-10 20:00',Uphone:'18032151365',Uarea:'陕西省西安市',Pintroduction:'喜欢咬鞋', Uimage:'/images/meliking.jpg'},
]

const question=[
    {Qid:70001,Qtype:1,Qinfor:'泡软狗粮用来喂成犬会引发',Qanwser:'A',Qoption1:'结石',Qoption2:'糖尿病',Qoption3:'胃溃疡',Qoption4:'骨质疏松'},
    {Qid:70002,Qtype:1,Qinfor:'以下食物可以给狗狗吃的是',Qanwser:'C',Qoption1:'咸鱼、小鱼小虾干和腊肉',Qoption2:'芥末和辣椒含量太多的食物',Qoption3:'猪、牛骨头',Qoption4:'洋葱'},
    {Qid:70003,Qtype:1,Qinfor:'以下关于潮湿天气储存狗粮的知识，错误的是',Qanwser:'C',Qoption1:'受潮，变质的狗粮会影响狗狗健康',Qoption2:'准备一个储粮仓来储存狗粮',Qoption3:'储粮仓所用的干燥剂包没有使用期限，可以无限使用',Qoption4:'储粮仓应密封，放到通风干燥的地方，避免阳光直射或阴暗潮湿'},
    {Qid:70004,Qtype:2,Qinfor:'如果狗粮中的碳水化合物含量超标的话，就有引起糖尿病和肥胖症的风险。',Qanwser:'A',Qoption1:'对',Qoption2:'错',Qoption3:'',Qoption4:''},
    {Qid:70005,Qtype:2,Qinfor:'鸡、鸭、鹅等禽类的骨可以喂给幼犬吃。',Qanwser:'B',Qoption1:'对',Qoption2:'错',Qoption3:'',Qoption4:''},
]

const workfabulous=[
    {Wid:30001, Uid:10001, Wfjudge:0,Wtime:'2021-10-16 15:23:11'},
    {Wid:30011, Uid:10002, Wfjudge:0,Wtime:'2021-10-16 15:23:11'},
    {Wid:30021, Uid:10003, Wfjudge:1,Wtime:'2021-10-16 15:23:11'},
    {Wid:30031, Uid:10004, Wfjudge:1,Wtime:'2021-10-16 15:23:11'},
    {Wid:30041, Uid:10005, Wfjudge:1,Wtime:'2021-10-16 15:23:11'},
    {Wid:30051, Uid:10006, Wfjudge:0,Wtime:'2021-10-16 15:23:11'},
    {Wid:30061, Uid:10007, Wfjudge:1,Wtime:'2021-10-16 15:23:11'},
    {Wid:30071, Uid:10008, Wfjudge:0,Wtime:'2021-10-16 15:23:11'},
    {Wid:30081, Uid:10009, Wfjudge:0,Wtime:'2021-10-16 15:23:11'},
    {Wid:30091, Uid:10010, Wfjudge:0,Wtime:'2021-10-16 15:23:11'},
    {Wid:30092, Uid:10001, Wfjudge:1,Wtime:'2021-10-16 15:23:11'},
    {Wid:30082, Uid:10002, Wfjudge:1,Wtime:'2021-10-16 15:23:11'},
    {Wid:30072, Uid:10003, Wfjudge:1,Wtime:'2021-10-16 15:23:11'},
    {Wid:30062, Uid:10004, Wfjudge:1,Wtime:'2021-10-16 15:23:11'},
    {Wid:30052, Uid:10005, Wfjudge:1,Wtime:'2021-10-16 15:23:11'},
    {Wid:30042, Uid:10006, Wfjudge:1,Wtime:'2021-10-16 15:23:11'},
    {Wid:30032, Uid:10007, Wfjudge:1,Wtime:'2021-10-16 15:23:11'},
    {Wid:30022, Uid:10008, Wfjudge:1,Wtime:'2021-10-16 15:23:11'},
    {Wid:30012, Uid:10009, Wfjudge:1,Wtime:'2021-10-16 15:23:11'},
    {Wid:30002, Uid:10010, Wfjudge:1,Wtime:'2021-10-16 15:23:11'},
    {Wid:30003, Uid:10001, Wfjudge:1,Wtime:'2021-10-16 15:23:11'},
    {Wid:30013, Uid:10002, Wfjudge:1,Wtime:'2021-10-16 15:23:11'},
    {Wid:30023, Uid:10003, Wfjudge:1,Wtime:'2021-10-16 15:23:11'},
    {Wid:30033, Uid:10004, Wfjudge:0,Wtime:'2021-10-16 15:23:11'},
    {Wid:30043, Uid:10005, Wfjudge:0,Wtime:'2021-10-16 15:23:11'},
    {Wid:30053, Uid:10006, Wfjudge:0,Wtime:'2021-10-16 15:23:11'},
    {Wid:30063, Uid:10007, Wfjudge:0,Wtime:'2021-10-16 15:23:11'},
    {Wid:30073, Uid:10008, Wfjudge:0,Wtime:'2021-10-16 15:23:11'},
    {Wid:30083, Uid:10009, Wfjudge:1,Wtime:'2021-10-16 15:23:11'},
    {Wid:30093, Uid:10010, Wfjudge:1,Wtime:'2021-10-16 15:23:11'},

    {Wid:30004, Uid:10005, Wfjudge:1,Wtime:'2021-10-16 15:23:11'},
    {Wid:30005, Uid:10006, Wfjudge:0,Wtime:'2021-10-16 15:23:11'},
    {Wid:30006, Uid:10007, Wfjudge:1,Wtime:'2021-10-16 15:23:11'},
    {Wid:30007, Uid:10008, Wfjudge:1,Wtime:'2021-10-16 15:23:11'},
    {Wid:30008, Uid:10009, Wfjudge:1,Wtime:'2021-10-16 15:23:11'},
    {Wid:30009, Uid:10010, Wfjudge:1,Wtime:'2021-10-16 15:23:11'},
    {Wid:30010, Uid:10001, Wfjudge:0,Wtime:'2021-10-16 15:23:11'},
]

const commentfabulous=[
    {Cid:30001, Uid:10001, Wfjudge:0},
    {Cid:30030, Uid:10002, Wfjudge:0},
    {Cid:30031, Uid:10003, Wfjudge:1},
    {Cid:30032, Uid:10004, Wfjudge:1},
    {Cid:30033, Uid:10005, Wfjudge:1},
    {Cid:30034, Uid:10006, Wfjudge:0},
    {Cid:30035, Uid:10007, Wfjudge:1},
    {Cid:30036, Uid:10008, Wfjudge:0},
    {Cid:30037, Uid:10009, Wfjudge:0},
    {Cid:30038, Uid:10010, Wfjudge:0},
    {Cid:30012, Uid:10001, Wfjudge:1},
    {Cid:30072, Uid:10002, Wfjudge:1},
    {Cid:30082, Uid:10003, Wfjudge:1},
    {Cid:30092, Uid:10004, Wfjudge:1},
    {Cid:30042, Uid:10005, Wfjudge:1},
    {Cid:30052, Uid:10006, Wfjudge:1},
    {Cid:30202, Uid:10007, Wfjudge:1},
    {Cid:30102, Uid:10008, Wfjudge:1},
    {Cid:10002, Uid:10009, Wfjudge:1},
    {Cid:20002, Uid:10010, Wfjudge:1},
    {Cid:30020, Uid:10001, Wfjudge:1},
    {Cid:30021, Uid:10002, Wfjudge:1},
    {Cid:30022, Uid:10003, Wfjudge:1},
    {Cid:30023, Uid:10004, Wfjudge:0},
    {Cid:30024, Uid:10005, Wfjudge:0},
    {Cid:30025, Uid:10006, Wfjudge:0},
    {Cid:30026, Uid:10007, Wfjudge:0},
    {Cid:30027, Uid:10008, Wfjudge:0},
    {Cid:30028, Uid:10009, Wfjudge:1},
    {Cid:30029, Uid:10010, Wfjudge:1},
    {Cid:30004, Uid:10005, Wfjudge:1},
    {Cid:30005, Uid:10006, Wfjudge:0},
    {Cid:30006, Uid:10007, Wfjudge:1},
    {Cid:30007, Uid:10008, Wfjudge:1},
    {Cid:30008, Uid:10009, Wfjudge:1},
    {Cid:30009, Uid:10010, Wfjudge:1},
    {Cid:30010, Uid:10001, Wfjudge:0},
]
const sqldata = require('../router/sqldata')
 
user.map(val=>{
    let sql = `INSERT INTO user VALUES ('${val.Uid}', '${val.Uname}', ${val.Usex}, '${val.Uday}', '${val.Uimage}', '${val.Uphone}', '${val.Uemail}', '${val.Pid}', '${val.Uarea}', ${val.Ulevel})`;
    sqldata(sql,function (err, result) {
        if(err){
          console.log('[SELECT ERROR] - ',err.message);
          return;
        }
 
       console.log('--------------------------SELECT----------------------------');
       console.log(result);
       console.log('------------------------------------------------------------\n\n');  
    });
})
// pet.map(val=>{
//     let sql = `INSERT INTO pet VALUES ('${val.Pid}', '${val.Pname}', ${val.Psex}, '${val.Page}', '${val.Pweight}', '${val.Pvarie}', '${val.Photo}', ${val.Pinject}, '${val.Pintroduction}')`;
//     sqldata(sql,function (err, result) {
//         if(err){
//           console.log('[SELECT ERROR] - ',err.message);
//           return;
//         }
 
//        console.log('--------------------------SELECT----------------------------');
//        console.log(result);
//        console.log('------------------------------------------------------------\n\n');  
//     });
// })
works.map(val=>{
    let sql = `INSERT INTO works VALUES ('${val.Wid}', '${val.Uid}', '${val.Wtitle}', '${val.Wintro}', '${val.Wtag}','${val.Wzan}', '${val.Cid}', '${val.Wimage}')`;
    sqldata(sql,function (err, result) {
        if(err){
          console.log('[SELECT ERROR] - ',err.message);
          return;
        }
 database.js
       console.log('--------------------------SELECT----------------------------');
       console.log(result);
       console.log('------------------------------------------------------------\n\n');  
    });
})
// comment.map(val=>{
//     let sql = `INSERT INTO comment VALUES ('${val.Cid}', '${val.Wid}', '${val.Uid}', '${val.Ctime}', ${val.Czan}, '${val.Ctext}')`;
//     sqldata(sql,function (err, result) {
//         if(err){
//           console.log('[SELECT ERROR] - ',err.message);
//           return;
//         }
 
//        console.log('--------------------------SELECT----------------------------');
//        console.log(result);
//        console.log('------------------------------------------------------------\n\n');  
//     });
// })
// attented.map(val=>{
//     let sql = `INSERT INTO attented VALUES ('${val.Uid}', '${val.Bid}', '${val.Time}', '${val.Astate}')`;
//     sqldata(sql,function (err, result) {
//         if(err){
//           console.log('[SELECT ERROR] - ',err.message);
//           return;
//         }
 
//        console.log('--------------------------SELECT----------------------------');
//        console.log(result);
//        console.log('------------------------------------------------------------\n\n');  
//     });
// })
// attention.map(val=>{
//     let sql = `INSERT INTO attention VALUES ('${val.Uid}', '${val.Bid}', '${val.Astate}')`;
//     sqldata(sql,function (err, result) {
//         if(err){
//           console.log('[SELECT ERROR] - ',err.message);
//           return;
//         }
 
//        console.log('--------------------------SELECT----------------------------');
//        console.log(result);
//        console.log('------------------------------------------------------------\n\n');  
//     });
// })
// foster.map(val=>{
//     let sql = `INSERT INTO foster VALUES ('${val.Fid}', '${val.Pid}',' ${val.Uid}', '${val.Pname}','${val.Page}','${val.Pvarie}','${val.Pinject}','${val.Ftime}','${val.Uphone}','${val.Uarea}','${val.Pintroduction}','${val.Photo}')`;
//     sqldata(sql,function (err, result) {
//         if(err){
//           console.log('[SELECT ERROR] - ',err.message);
//           return;
//         }
 
//        console.log('--------------------------SELECT----------------------------');
//        console.log(result);
//        console.log('------------------------------------------------------------\n\n');  
//     });
// })
// adopt.map(val=>{
//     let sql = `INSERT INTO adopt VALUES ('${val.Aid}', '${val.Pid}','${val.Uid}','${val.Pname}','${val.Page}','${val.Pvarie}','${val.Pinject}','${val.Ftime}','${val.Uphone}','${val.Uarea}','${val.Pintroduction}','${val.Photo}')`;
//     sqldata(sql,function (err, result) {
//         if(err){
//           console.log('[SELECT ERROR] - ',err.message);
//           return;
//         }
 
//        console.log('--------------------------SELECT----------------------------');
//        console.log(result);
//        console.log('------------------------------------------------------------\n\n');  
//     });
// })
// question.map(val=>{
//     let sql = `INSERT INTO question VALUES ('${val.Qid}', '${val.Qtype}', '${val.Qinfor}', '${val.Qanswer}', '${val.Qoption1}', '${val.Qoption2}', '${val.Qoption3}', '${val.Qoption4}')`;
//     sqldata(sql,function (err, result) {
//         if(err){
//           console.log('[SELECT ERROR] - ',err.message);
//           return;
//         }
 
//        console.log('--------------------------SELECT----------------------------');
//        console.log(result);
//        console.log('------------------------------------------------------------\n\n');  
//     });
// })
// workfabulous.map(val=>{
//     let sql = `INSERT INTO workfabulous VALUES ('${val.Wid}', '${val.Uid}', '${val.Wfjudge}','${val.Wtime}')`;
//     sqldata(sql,function (err, result) {
//         if(err){
//           console.log('[SELECT ERROR] - ',err.message);
//           return;
//         }
 
//        console.log('--------------------------SELECT----------------------------');
//        console.log(result);
//        console.log('------------------------------------------------------------\n\n');  
//     });
// })
// commentfabulous.map(val=>{
//     let sql = `INSERT INTO commentfabulous VALUES ('${val.Cid}', '${val.Uid}', '${val.Wfjudge}')`;
//     sqldata(sql,function (err, result) {
//         if(err){
//           console.log('[SELECT ERROR] - ',err.message);
//           return;
//         }
 
//        console.log('--------------------------SELECT----------------------------');
//        console.log(result);
//        console.log('------------------------------------------------------------\n\n');  
//     });
// })



